import { defineStore } from 'pinia'
import { ref, computed } from "vue";
    const cartList=ref([])
export const useCounterStore = defineStore('counter', () => {
    // totalCounter=computed(()=>{
    //     cartList=cartList.value(item=>item.id=id)
    // }
    
    // )
    // detetItem=(()=>{
    //     cartList=cartList.filter(item=>item.id=id)
    // })
 
   
    return { }
  },{
    persist: true,
  })